import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import * as path from "path";

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  server: {
    host: '0.0.0.0', //增加局域网访问
    port: 10000,
    open: true  //是否自动打开浏览器
  },
  resolve: {
    alias: {
      '@': path.resolve(__dirname, './src')
    }
  }
})
